const routes = [
  {
    path: '/',
    component: '@/renderer/layouts/index.jsx',
    routes: [
      {
        path: '/',
        redirect: '/useDirections', // 设置根路径重定向到 /useDirections
      },
      {
        path: '/useDirections',
        component: "@/renderer/pages/useDirections/useDirections.jsx",
      },
      {
        path: '/informationDisplay',
        component: "@/renderer/pages/informationDisplay/informationDisplay.jsx"
      },
      {
        path: '/settings',
        component: "@/renderer/pages/settings/settings.jsx"
      },
    ],
  },
];

export default routes;